
project(thread_pool
        DESCRIPTION "C/C++ std thread pool"
        VERSION 1.0.0
        LANGUAGES ASM C CXX)


set(thread_pool_includes ${CMAKE_CURRENT_SOURCE_DIR} CACHE PATH "C/C++ std thread pool include path" FORCE)
add_library(thread_pool_shared SHARED thread_time.hpp thread_pool.hpp thread_pool.cpp)
add_library(thread_pool_static STATIC thread_time.hpp thread_pool.hpp thread_pool.cpp)

find_package(Threads REQUIRED)
target_link_libraries(thread_pool_shared Threads::Threads)
target_link_libraries(thread_pool_static Threads::Threads)
